How do the if statements in the fullscreen JavaScript code determine fullscreen functionality

welcome to shbcf.ru